package com.org.bean.setting;

import java.util.Date;

import com.org.bean.system.TunnelInfo;

public class MaterialsInfo {
    private Integer materialsId;
    private String materialsName;
    private Integer number;
    private String usePeriod;
    private Date inputTime;
    private Integer personId;
    private Integer tunnelId;
    
    private PersonInfo personInfo;
    private TunnelInfo tunnelInfo;

    public Integer getMaterialsId() {
        return materialsId;
    }

    public PersonInfo getPersonInfo() {
		return personInfo;
	}

	public void setPersonInfo(PersonInfo personInfo) {
		this.personInfo = personInfo;
	}

	public TunnelInfo getTunnelInfo() {
		return tunnelInfo;
	}

	public void setTunnelInfo(TunnelInfo tunnelInfo) {
		this.tunnelInfo = tunnelInfo;
	}

	public void setMaterialsId(Integer materialsId) {
        this.materialsId = materialsId;
    }

    public String getMaterialsName() {
        return materialsName;
    }

    public void setMaterialsName(String materialsName) {
        this.materialsName = materialsName;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }


    public Integer getPersonId() {
        return personId;
    }

    public void setPersonId(Integer personId) {
        this.personId = personId;
    }

	public String getUsePeriod() {
		return usePeriod;
	}

	public void setUsePeriod(String usePeriod) {
		this.usePeriod = usePeriod;
	}

	public Date getInputTime() {
		return inputTime;
	}

	public void setInputTime(Date inputTime) {
		this.inputTime = inputTime;
	}

	public Integer getTunnelId() {
		return tunnelId;
	}

	public void setTunnelId(Integer tunnelId) {
		this.tunnelId = tunnelId;
	}

	@Override
	public String toString() {
		return "MaterialsInfo [materialsId=" + materialsId + ", materialsName="
				+ materialsName + ", number=" + number + ", usePeriod="
				+ usePeriod + ", inputTime=" + inputTime + ", personId="
				+ personId + ", tunnelId=" + tunnelId + "]";
	}
    
}